import { Animal } from './Animal.js'
export class Pig extends Animal {
    constructor(name) {
        super(name);
        this.weight = 200;
        this.ratio = 100;
    }
    sleep() {
        console.log(`俺地名字是${this.name},俺喜欢睡觉`);
    }
}